package com.tom.demo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Set;


@Data
@ApiModel(value = "用户列表查询条件")
public class UserDto {

    @ApiModelProperty("用户账号")
    private String username;

    @ApiModelProperty("用户昵称")
    private String nickName;


    @ApiModelProperty("用户邮箱")
    private String email;

    @ApiModelProperty("手机号码")
    private String phoneNumber;

    @ApiModelProperty("部门id")
    private String deptId;

    @ApiModelProperty("状态 false:正常 true:停用")
    private Boolean status;

    //根据上面的deptId递归出来所有的子级id
    private Set<String> deptIds;
}
